package com.education.welco.mapper;

import com.education.welco.pojo.SysAppVersion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: liftsail
 * @Date: 2023/2/1 10:35
 * @Description: 不积跬步无以至千里
 */
@Mapper
public interface SysAppVersionServiceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysAppVersion record);

    int insertSelective(SysAppVersion record);

    SysAppVersion selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysAppVersion record);

    int updateByPrimaryKey(SysAppVersion record);

    List<SysAppVersion> getSysAppVersionList(SysAppVersion sysAppVersion);

    /**
     * app查询最新一条版本记录
     */
    SysAppVersion getLatSysAppVersion();

}
